package com.xinghanlaser.applet.service;

import com.xinghanlaser.applet.base.common.entity.ResponseEntity;
import com.xinghanlaser.applet.entity.KnowledgeBase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinghanlaser.applet.query.KnowledgeQuery;
import com.xinghanlaser.applet.vo.applet.KnowledgePostVO;
import com.xinghanlaser.applet.vo.applet.KnowledgePutVO;
import com.xinghanlaser.applet.vo.applet.KnowledgeVO;

/**
* @author XH-YF-TSDN-0080
* @description 针对表【knowledge_base】的数据库操作Service
* @createDate 2024-05-08 15:21:59
*/
public interface IKnowledgeBaseService extends IService<KnowledgeBase> {

    ResponseEntity<ResponseEntity.PageResult<KnowledgeVO>> pageByCondition(KnowledgeQuery query);

    ResponseEntity<KnowledgeVO> getKnowledgeById(Long id);

    ResponseEntity<Void> addKnowledge(KnowledgePostVO postVO);

    ResponseEntity<Void> modKnowledge(KnowledgePutVO putVO);
}
